package com.example.lushudao_admin.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import net.sf.json.JSONObject;
import org.springframework.stereotype.Component;


@Component
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class UserRelease {
    private int scenic_release_id;
    private String scenic_release_title;
    private String scenic_release_text;
    private int scenic_release_good;
    private String space_release_time;
    private String scenic_name;
    private String user_id;
    private String user_name;

    @Override
    public String toString() {
        return JSONObject.fromObject(this).toString();
    }



}
